package org.spbsu.apco.server.taskset.sample;

import org.spbsu.apco.common.data.impl.PrimeInputVal;
import org.spbsu.apco.common.task.impl.PrimeFindTask;
import org.spbsu.apco.server.taskset.BaseTaskSet;

import java.util.Arrays;

/**
 * User: solozobov
 * Date: 25.11.12
 */

public class PrimeFindTaskSet extends BaseTaskSet {
    @Override
    public void initializeTasks() {
        addLeafTask(new PrimeFindTask(), Arrays.asList(new PrimeInputVal(1, 128, 10)));
        addLeafTask(new PrimeFindTask(), Arrays.asList(new PrimeInputVal(2, 256, 10)));
        addLeafTask(new PrimeFindTask(), Arrays.asList(new PrimeInputVal(3, 128, 10)));
        addLeafTask(new PrimeFindTask(), Arrays.asList(new PrimeInputVal(4, 256, 10)));
        addLeafTask(new PrimeFindTask(), Arrays.asList(new PrimeInputVal(5, 128, 10)));
    }
}
